package com.fivestyle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fivestyle.common.result.R;
import com.fivestyle.entity.User;
import com.fivestyle.entity.vo.RegisterVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张代钊
 * @since 2021-08-04
 */
public interface UserService extends IService<User> {

    R register(RegisterVo registerVo);

    R sendMail(String email);

    R login(User member);

    R getMemberInfo(HttpServletRequest request);
}
